package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * 攻略
 */
@Setter
@Getter
@ToString
@Document("spot")
public class Spot extends BaseDomain {

    private int photonum;
    private String destId;  //关联的目的地
    private String destName;
    private List<String> coverUrl;  //封面
    private int adviceTime;
    private String tel;
    private String url;
    private Date createTime;  //创建时间
    private Date releaseTime; //发布时间
    private Date lastUpdateTime; //最新更新时间内
    private String content; //攻略内容
    private int travelnum;  //游客数
    private String traffic;
    private String ticket;
    private String optime;
}